const fs = require('fs')

const rs = fs.createReadStream('/home/miao/Downloads/WebStorm-2023.3.1.tar.gz');
const ws = fs.createWriteStream('./s.tar.gz');

/*
rs.on('data', chunk => {
    ws.write(chunk)
})

rs.on('end', () => {
    console.log('end')
})*/

// rs.pipe(ws)

